package com.yenlien.traceyun.plant.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.yenlien.traceyun.business.entity.TraceScanEntity;
import com.yenlien.traceyun.business.trace.Trace;
import com.yenlien.traceyun.business.trace.TraceSql;

/**
 * 加工工艺
 *
 * @author maybe
 * @date 2020年7月28日
 */
@Entity
@Table(name = "t_plant_process_technology")
@Trace(appName = "plant", stepName = "processTechnology", parentStepName = {"processDetail"}, order = 2)
@TraceSql(sql = "select * from t_plant_process_technology t where t.process_id=?1", sqlParams = {"processId"})
public class ProcessTechnology extends TraceScanEntity {
    @Column
    private String processId;        //加工ID
    @Column
    private String technologyId;    //工艺ID
    @Column
    private String methodId;        //方法ID
    @Column
    private String methodName;        //方法名称
    @Column
    private String beginTime;        //开始时间
    @Column
    private String endTime;            //结束时间
    @Column
    private String equipmentId;        //设备ID
    @Column
    private String equipmentName;    //设备名称
    @Column
    private String userId;            //完成人ID
    @Column
    private String userName;        //完成人姓名
    @Column
    private String processImg;        //操作图片

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getTechnologyId() {
        return technologyId;
    }

    public void setTechnologyId(String technologyId) {
        this.technologyId = technologyId;
    }

    public String getMethodId() {
        return methodId;
    }

    public void setMethodId(String methodId) {
        this.methodId = methodId;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProcessImg() {
        return processImg;
    }

    public void setProcessImg(String processImg) {
        this.processImg = processImg;
    }
}
